/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.giant.bean.parametrics;

import com.giant.entities.WClaimStatus;
import com.giant.services.parametrics.ServiceClaimItemLocal;
import com.giant.services.parametrics.ServiceClaimStatus;
import com.giant.services.parametrics.ServiceClaimStatusLocal;
import java.io.Serializable;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author taticay
 */
@ManagedBean
@RequestScoped
public class ClaimStatusBean implements Serializable{

    
       /**
     * Relación con la interfaz que provee los servicios necesarios del vendedor
     */
    @EJB
    private ServiceClaimStatusLocal serviceClaimStatus;
    
      //-----------------------------------------------------------
    // Atributos
    //-----------------------------------------------------------

    /**
     * Representa un nuevo vendedor a ingresar
     */
    private WClaimStatus statu = new WClaimStatus();
    /**
     * Creates a new instance of OpCenBean
     */
    public ClaimStatusBean() {
        
        
    }
    
     //-----------------------------------------------------------
    // Getters y setters
    //-----------------------------------------------------------

    public WClaimStatus getStatus() {
        return statu;
    }

    public void setStatus(WClaimStatus statu) {
        this.statu = statu;
    }

  

    /**
     * return all the status of the system
     * @return vendedores List with all the status of the system
     */
    public List<WClaimStatus> getClaimStatuses()
    {
        return serviceClaimStatus.getClaimStatuses();   }
}
